package com.example.jenkinsdemo.com.jenkins.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author 杨光 微信号:tolryg
 * @time 11:02
 */
@RestController
@RequestMapping("jenkins")
public class JenkinsController {

    @GetMapping("test1")
    public String test1(){
        System.out.println(">>>>>>>>访问日志更新>>>>>>>>>>>>>"+new Date());
        return "<<<<<<test1>>>>>>>> @@"+new Date();
    }
}
